package com.peak.distribution.manager.admin.impl;

import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.peak.distribution.entity.admin.DisConfig;
import com.peak.distribution.manager.admin.DisConfigManager;
import com.peak.spring.boot.core.manager.BaseManagerImpl;

@Component
@Transactional(readOnly = true)
public class DisConfigManagerImpl extends BaseManagerImpl<DisConfig> implements DisConfigManager {

	@Override
	public DisConfig getByKeyword(String keyword) {
		return super.findOne("keyword", keyword);
	}

}
